﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Xml.Serialization;

namespace Love.Awesome.TMX
{
    public class ImageLayer:MapChild
    {
        [XmlAttribute("id")]
        public int ID;

        [XmlAttribute("name")]
        public string Name;

        [XmlAttribute("class")]
        public string Class;

        [XmlAttribute("offsetx")]
        public int OffsetX;

        [XmlAttribute("offsety")]
        public int OffsetY;

        [XmlAttribute("parallaxx")]
        public int ParallaxX;

        [XmlAttribute("parallaxy")]
        public int ParallaxY;

        [XmlAttribute("opacity")]
        public float Opacity;

        [XmlAttribute("visible")]
        public BoolEnum Visible;

        [XmlAttribute("tintcolor")]
        public string TintColor;

        [XmlAttribute("repeatx")]
        public int RepeatX;

        [XmlAttribute("repeaty")]
        public int RepeatY;

        [XmlElement("properties")]
        public Properties Properties;

        [XmlElement("image")]
        public Image Image;
    }
}
